﻿using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;

namespace AutomatedAcceptanceTests.PageObjects
{
    public class MainMenuPageObject : BasePageObject
    {
        [FindsBy(How = How.CssSelector, Using = "[data-autotag-logoutButton=\"logout\"]")]
        public IWebElement LogOutMenuItem { get; set; }

        public void ClickLogOut()
        {
            LogOutMenuItem.Click();
        }

    }
}